package com.yld.demo2.entity.table;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.junit.jupiter.params.shadow.com.univocity.parsers.annotations.Format;
import org.mockito.internal.verification.InOrderWrapper;

import java.sql.Date;
import java.text.SimpleDateFormat;

/**
 * 订单表实体类
 */
@TableName("order_list")
@ApiModel(value = "OrderList对象", description = "订单表")
@AllArgsConstructor
@NoArgsConstructor
public class OrderList {

    @TableField("order_no")
    @ApiModelProperty("订单号")
    Integer orderno;
    @TableField("user_id")
    @ApiModelProperty("用户编号")
    Integer userid;
    @TableField("prod_id")
    @ApiModelProperty("产品编号")
    Integer prodid;
    @TableField("order_num")
    @ApiModelProperty("购买数量")
    Integer ordernum;
    @TableField("amout")
    @ApiModelProperty("金额")
    double amout;

    public Integer getOrderno() {
        return orderno;
    }

    public void setOrderno(Integer orderno) {
        this.orderno = orderno;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getProdid() {
        return prodid;
    }

    public void setProdid(Integer prodid) {
        this.prodid = prodid;
    }

    public Integer getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(Integer ordernum) {
        this.ordernum = ordernum;
    }

    public double getAmout() {
        return amout;
    }

    public void setAmout(double amout) {
        this.amout = amout;
    }
}
